<template>
  <body id="poster">
  <el-form class="register-container" :model="RegisterForm" label-position="left" label-width="0px">
    <h3 class="register-title">用户注册</h3>
    <el-form-item label="">
      <el-input type="text" v-model="RegisterForm.username" autocomplete="off" placeholder="用户名"/>
    </el-form-item>
    <el-form-item label="">
      <el-input type="password" v-model="RegisterForm.password" autocomplete="off" placeholder="密码"/>
    </el-form-item>
    <el-form-item label="">
      <el-input type="password" v-model="RegisterForm.password" autocomplete="off" placeholder="确认密码"/>
    </el-form-item>
    <el-form-item style="width: 100%">
      <el-button type="primary" style="width: 100%" @click="register">注册</el-button>
    </el-form-item>
  </el-form>
  </body>
</template>

<script>
export default {
  name: "register",
  data() {
    return {
      RegisterForm: {
        username:'',
        password:'',
      }
    }
  },
  mounted() {

  },
  methods:{
      register(){

      }
  }
}
</script>

<style scoped>

#poster{
  background-position: center;
  height: 100%;
  width: 100%;
  background-size: cover;
  position: fixed;
}
body{
  margin: 0px;
  padding: 0px;
}
.register-container{
  border-radius: 15px;
  background-clip: padding-box;
  margin: 90px auto;
  width: 300px;
  padding: 35px 35px 15px 35px;
  background: #ffffff;
  border:1px solid #eaeaea;
  box-shadow: 0 0 25px #cac6c6;
}
.register-title{
  margin: 0px auto 30px auto;
  text-align: center;
  color: #000000;
}
</style>